package com.chris.entity;

import com.alibaba.fastjson.annotation.JSONField;

public class register {
    @JSONField(name = "journal_id")
    private int journal_id;
    @JSONField(name = "journal_title")
    private String journal_title;
    @JSONField(name = "year")
    private int year;
    @JSONField(name = "volume")
    private int volume;
    @JSONField(name = "issue")
    private int issue;
    @JSONField(name = "borrowed")
    private int borrowed;

    @Override
    public String toString() {
        return "register{" +
                "journal_id=" + journal_id +
                ", journal_title='" + journal_title + '\'' +
                ", year=" + year +
                ", volume=" + volume +
                ", issue=" + issue +
                ", borrowed=" + borrowed +
                '}';
    }

    public int getJournal_id() {
        return journal_id;
    }

    public void setJournal_id(int journal_id) {
        this.journal_id = journal_id;
    }

    public String getJournal_title() {
        return journal_title;
    }

    public void setJournal_title(String journal_title) {
        this.journal_title = journal_title;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    public int getIssue() {
        return issue;
    }

    public void setIssue(int issue) {
        this.issue = issue;
    }

    public int getBorrowed() {
        return borrowed;
    }

    public void setBorrowed(int borrowed) {
        this.borrowed = borrowed;
    }

    public register() {
    }
}
